
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- HTML5 shim for IE8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <![endif]-->


    <link href="/themes/admin_simpleboot3/public/assets/themes/flatadmin/bootstrap.min.css" rel="stylesheet">
    <link href="/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <style>
        form .input-order {
            margin-bottom: 0px;
            padding: 0 2px;
            width: 42px;
            font-size: 12px;
        }

        form .input-order:focus {
            outline: none;
        }

        .table-actions {
            margin-top: 5px;
            margin-bottom: 5px;
            padding: 0px;
        }

        .table-list {
            margin-bottom: 0px;
        }

        .form-required {
            color: red;
        }
    </style>
    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "/",
            WEB_ROOT: "/",
            JS_ROOT: "static/js/",
            APP: 'admin'/*当前应用名*/
        };
    </script>
    <script src="/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
    <script src="/static/js/wind.js"></script>
    <script src="/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
    <script>
        Wind.css('artDialog');
        Wind.css('layer');
        $(function () {
            $("[data-toggle='tooltip']").tooltip();
            $("li.dropdown").hover(function () {
                $(this).addClass("open");
            }, function () {
                $(this).removeClass("open");
            });
        });
    </script>
    </head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="#A" data-toggle="tab">WEB_SITE_INFOS</a></li>
			<li><a href="#B" data-toggle="tab">SEO_SETTING</a></li>
			<!--<li><a href="#C" data-toggle="tab">URL_SETTING</a></li>-->
			<!--<li><a href="#E" data-toggle="tab">COMMENT_SETTING</a></li>-->
			<li><a href="#F" data-toggle="tab">Setting User Register</a></li>
			<!-- <li><a href="#G" data-toggle="tab">CDN设置</a></li> -->
		</ul>
		<form class="form-horizontal js-ajax-form margin-top-20" role="form" action="/admin/setting/sitepost.html" method="post">
			<fieldset>
				<div class="tabbable">
					<div class="tab-content">
						<div class="tab-pane active" id="A">
							<div class="form-group">
								<label for="input-site-name" class="col-sm-2 control-label"><span class="form-required">*</span>WEBSITE_NAME</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-site-name" name="options[site_name]" value="BluPilot">
								</div>
							</div>
							<!-- <div class="form-group">
								<label for="input-admin_url_password" class="col-sm-2 control-label">后台加密码</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-admin_url_password" name="admin_settings[admin_password]" value="" id="js-site-admin-url-password">
									<p class="help-block">英文字母数字，不能为纯数字</p>
																	</div>
							</div> -->
							<!--
							<div class="form-group">
								<label for="input-mobile_tpl_enabled" class="col-sm-2 control-label">ENABLE_MOBILE_THEME</label>
								<div class="col-md-6 col-sm-10">
																		<div class="checkbox">
										<label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-mobile_tpl_enabled" ></label>
									</div>
								</div>
							</div>
							-->
							<div class="form-group">
								<label for="input-site_adminstyle" class="col-sm-2 control-label">WEBSITE_ADMIN_THEME</label>
								<div class="col-md-6 col-sm-10">
																		<select class="form-control" name="admin_settings[admin_style]" id="input-site_adminstyle">
																					<option value="flatadmin" selected>flatadmin</option>
																			</select>
								</div>
							</div>
							<!--
							<div class="form-group">
								<label for="input-html_cache_on" class="col-sm-2 control-label">HTML_CACHE</label>
								<div class="col-md-6 col-sm-10">
																		<div class="checkbox">
										<label><input type="checkbox" name="options[mobile_tpl_enabled]" value="1" id="input-html_cache_on" ></label>
									</div>
								</div>
							</div>
							-->
							<div class="form-group">
								<label for="input-site_icp" class="col-sm-2 control-label">WEBSITE_ICP</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-site_icp" name="options[site_icp]" value="">
								</div>
							</div>
							<div class="form-group">
								<label for="input-site_admin_email" class="col-sm-2 control-label">WEBMASTER_EMAIL</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-site_admin_email" name="options[site_admin_email]" value="">
								</div>
							</div>
							<div class="form-group">
								<label for="input-site_analytics" class="col-sm-2 control-label">WEBSITE_STATISTICAL_CODE</label>
								<div class="col-md-6 col-sm-10">
									<textarea class="form-control" id="input-site_analytics" name="options[site_analytics]"></textarea>
								</div>
							</div>
							<!--<div class="form-group">-->
								<!--<label for="input-site_copyright" class="col-sm-2 control-label">WEBSITE_COPYRIGHT_INFOMATION</label>-->
								<!--<div class="col-md-6 col-sm-10">-->
									<!--<input type="text" class="form-control" id="input-site_copyright" name="options[site_copyright]" value="">-->
								<!--</div>-->
							<!--</div>-->
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1">Save</button>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="B">
							<div class="form-group">
								<label for="input-site_seo_title" class="col-sm-2 control-label">WEBSITE_SEO_TITLE</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-site_seo_title" name="options[site_seo_title]" value="seo title">
								</div>
							</div>
							<div class="form-group">
								<label for="input-site_seo_keywords" class="col-sm-2 control-label">WEBSITE_SEO_KEYWORDS</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-site_seo_keywords" name="options[site_seo_keywords]" value="seo keywords">
								</div>
							</div>
							<div class="form-group">
								<label for="input-site_seo_description" class="col-sm-2 control-label">WEBSITE_SEO_DESCRIPTION</label>
								<div class="col-md-6 col-sm-10">
									<textarea class="form-control" id="input-site_seo_description" name="options[site_seo_description]">java jse</textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">Save</button>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="C">
							<div class="form-group">
								<label for="input-urlmode" class="col-sm-2 control-label">URL_MODE</label>
								<div class="col-md-6 col-sm-10">
																		<select class="form-control" name="options[urlmode]" id="input-urlmode">
																				<option value="1" selected>URL_PATHINFO_MODE</option>
																				<option value="2" >URL_REWRITE_MODE</option>
																			</select>
								</div>
							</div>
							<div class="form-group">
								<label for="input-html_suffix" class="col-sm-2 control-label">URL_REWRITE_SUFFIX</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-html_suffix" name="options[html_suffix]" value="">
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">Save</button>
								</div>
							</div>
						</div>
						<!--
						<div class="tab-pane" id="E">
							<div class="form-group">
								<label class="col-sm-2 control-label">COMMENT_CHECK</label>
								<div class="col-md-6 col-sm-10">
																		<div class="checkbox">
										<label><input type="checkbox" name="options[comment_need_check]" value="1" ></label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label for="input-comment_time_interval" class="col-sm-2 control-label">COMMENT_TIME_INTERVAL</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-comment_time_interval" name="options[comment_time_interval]" value="60">
									<p class="help-block">单位秒</p>
								</div>
							</div>
						</div>
						-->
						<div class="tab-pane" id="F">
							<div class="form-group">
								<label for="input-banned_usernames" class="col-sm-2 control-label">Is Open Register ?</label>
								<div class="col-md-6 col-sm-10">
									<select class="form-control" name="cmf_settings[open_registration]">
										<option value="0">No</option>
																				<option value="1" selected>Yes</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label for="input-banned_usernames" class="col-sm-2 control-label">SPECAIL_USERNAME</label>
								<div class="col-md-6 col-sm-10">
									<textarea class="form-control" id="input-banned_usernames" name="cmf_settings[banned_usernames]"></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">Save</button>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="G">
							<div class="form-group">
								<label for="input-cdn_static_root" class="col-sm-2 control-label">静态资源cdn地址</label>
								<div class="col-md-6 col-sm-10">
									<input type="text" class="form-control" id="input-cdn_static_root" name="cdn_settings[cdn_static_root]" value="">
									<p class="help-block">
										不能以/结尾；设置这个地址后，请将ThinkCMF下的静态资源文件放在其下面；<br>
										ThinkCMF下的静态资源文件大致包含以下(如果你自定义后，请自行增加)：<br>
										themes/admin_simplebootx/public/assets<br>
										static<br>
										themes/simplebootx/public/assets<br>
										例如未设置cdn前：jquery的访问地址是/static/js/jquery.js, <br>
										设置cdn是后它的访问地址就是：静态资源cdn地址/static/js/jquery.js
									</p>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									<button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">Save</button>
								</div>
							</div>
						</div>
					</div>
				</div>
			</fieldset>
		</form>

	</div>
	<script type="text/javascript" src="/static/js/admin.js"></script>
</body>
</html>